package com.commonboard.dao;

import java.util.List;
import java.util.Map;

import com.commonboard.domain.CommonBoardCommand;


public interface CommonBoardDao {

	public int getRowCount(Map<String,Object> map);
	
	public int getReplyRowCount(Integer num);

	public List<CommonBoardCommand> boardList(Map<String, Object> map);
	
	public List<CommonBoardCommand> replyList(Integer num);
	
	public String preView(String num);
	
	public void updateReadCount1(Integer num);
	
	public CommonBoardCommand readContent1(Integer num);
	
	public CommonBoardCommand prevReadContent(Integer num);
	
	public CommonBoardCommand nextReadContent(Integer num);
	
	public void insertBoard(CommonBoardCommand commonBoard);
	
	public void deleteBoard(Integer num);
	
	public void updateBoard(CommonBoardCommand commonBoard);
	
	public void replyBoard(CommonBoardCommand commonBoard);
	
		
	


}
